package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.base.BaseService;
import com.atguigu.entity.UserFollow;
import com.atguigu.vo.UserFollowVo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @author lhh
 * @ClassName UserFollowDao
 */

public interface UserFollowDao extends BaseDao<UserFollow> {

    Integer countByUserIdAndHouseId(@Param("userId") Long userId, @Param("houseId") Long houseId);

    Page<UserFollowVo> getFollowList(Long userId);
}
